]> dgit.raspbian.org Git - gnome-shell.git/commit
messageTray.js: raise an exception only if parseInt(count) returns NaN
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 7 Jul 2011 13:35:37 +0000 (15:35 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 7 Jul 2011 13:47:12 +0000 (15:47 +0200)
commit6cb707cc4fa391f0f64710cc223e514a9b05ac5f
tree7b35ce5b9cf5b1fd84c3ff671f4fa6344e829a69
parent998c5f17fc95a77821115bacc75ac344b406377c
messageTray.js: raise an exception only if parseInt(count) returns NaN

0 is a valid value for count so we should accept it.

https://bugzilla.gnome.org/show_bug.cgi?id=654139
js/ui/messageTray.js